<script setup>
import { useStore } from 'vuex'
import {computed} from "vue";
const store = useStore()
const loading = computed(() => store.state.common.loading)
</script>

<template>
  loading: {{ loading }}
  <a-spin :spinning="loading">
    <router-view></router-view>
  </a-spin>
</template>

<style scoped>

</style>
